<?php $form=$this->beginWidget('CActiveForm', array(
    'action'=>Yii::app()->createUrl($this->route),
    'method'=>'get',
    'id'=>'frmSearch'
)); ?>
<div class="wide form">
    <table>
        <tr>
            <td class="alignRight"><?php echo Yii::t('BackEnd','name'); ?></td>
            <td><?php echo $form->textField($model,'name',array('size'=>20,'maxlength'=>45)); ?></td>

             <td class="alignRight"> <?php echo Yii::t('BackEnd','Config Group'); ?></td>
            <td>
                <?php
                    echo $form->dropDownList($model, 'group_id', ConfigGroup::dumpAllGroupToArray(Yii::t('BackEnd', '-- All --')),
                                                                    array('onchange'=>'javascript:$("#frmSearch").submit();'));
                 ?>
            </td>

            <td class="alignRight"><?php echo Yii::t('BackEnd','html_tag'); ?></td>
            <td>
                <?php
                    echo $form->dropDownList($model, 'html_tag', Common::dumpAllHtmlTagToArray(Yii::t('BackEnd', '-- All --')),
                                                                    array('onchange'=>'javascript:$("#frmSearch").submit();'));
                ?>
            </td>

            <td><?php echo CHtml::submitButton(Yii::t('Global','Search')); ?></td>
        </tr>
    </table>
</div><!-- search-form -->
<?php $this->endWidget(); ?>